// jOHMap.cpp : Defines the entry point for the console application.
// Note that DLL should be used by 0penHold3m

#include <stdio.h>
#include <tchar.h>
#include <iostream>

//#include "JohmapImplPortBinding.nsmap"
#include "soapJohmapImplPortBindingProxy.h"

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
string user = "AAAA";
string pass = "BBBB";

JohmapImplPortBinding service; 

ns1__SaveTableImageInput input; 
ns1__SaveTableImageOutput output;
 
ns1__tableimage imageIn;
input.tableImageIn=&imageIn;

string tableTitle;
tableTitle="XXX---Test---XXX";

imageIn.tableTitle=tableTitle;

 if( service.__ns1__SaveTableImage(&input, &output) == SOAP_OK )
//virtual int __ns1__SaveTableImage(ns1__SaveTableImageInput *ns1__inputImage, ns1__SaveTableImageOutput *ns1__outputImage) { return soap ? soap_call___ns1__SaveTableImage(soap, endpoint, NULL, ns1__inputImage, ns1__outputImage) : SOAP_EOM; };


{
    cout << "success!" << endl;     
} else {
    cout << "fail :(" << endl;  
 }

cin.get();

return 0;
}


